package com.example.pufang.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName(value = "pf_report")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("举报日志表")
public class Report {

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "日志id")
    private String id;

    @ApiModelProperty(value = "举报人id")
    private Integer userId;

    @ApiModelProperty(value = "被举报房屋id")
    private String houseId;

    @ApiModelProperty(value = "处理人id")
    private Integer adminId;

    @ApiModelProperty(value = "举报内理由")
    private String reason;

    @ApiModelProperty(value = "是否处理")
    private Boolean isHandle;

    @ApiModelProperty(value = "处理结果")
    private Boolean handleResult;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间/举报时间")
    private Date createTime;
}
